package org.elec.mac.entity;


/**
 * 
 * @author johnny.Lu
 * @version 1.0
 * @date Jun 18, 2007
 */
public class SMachineMaterial {

	private Long id;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	private Long machid;
	
	private Long mid;

	private  Integer amount;
	
	private Integer warning;

	public Long getMachid() {
		return this.machid;
	}

	public void setMachid(Long machid) {
		this.machid = machid;
	}
	
	public Long getMid() {
		return this.mid;
	}

	public void setMid(Long mid) {
		this.mid = mid;
	}

	public Integer getWarning() {
		return warning;
	}

	public void setWarning(Integer warning) {
		this.warning = warning;
	}

	public Integer getAmount() {
		return amount;
	}

	public void setAmount(Integer amount) {
		this.amount = amount;
	}

	@Override
	public String toString() {
		return "SMachineMaterial{" +
				"id=" + id +
				", machid=" + machid +
				", mid=" + mid +
				", amount=" + amount +
				", warning=" + warning +
				'}';
	}
}
